<template>
	<view class="u-content">
		<u-parse :html="content"></u-parse>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				content: ''
			};
		},
		onLoad() {
			this.getAgree()
		},
		methods: {
			getAgree() {
				this.$u.api.getMyReserveList().then((res) => {
					this.content = res.data.cancel_rule
				}).catch(() => {
					this.content = ''
				})
			},
		}
	}
</script>

<style>
	.u-content {
		padding: 32rpx;
	}
</style>